package com.example.demo.day.config.learn.spring.config.mybatis;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class mainTest {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(A.class);
        System.out.println(context.getBean("a"));
        //System.out.println(context.getBean(B.class));
    }
}
